package Decorator;
import Component.Component;

    public class DecoratorHelmet extends Decorator {
        public DecoratorHelmet(Component componentInit) {
            super(componentInit);
        }

        private void AddHelmetOutfit(){
            System.out.println("已装备盔甲");
        }
        @Override
        public void operation(String charctor){
            super.operation(charctor);
            AddHelmetOutfit();
        }

    }

